package com.xmmj.main.view.activity

import com.alibaba.android.arouter.facade.annotation.Route
import com.xmmj.baselibrary.base.activity.mvvm.BaseMvvmActivity
import com.xmmj.common.router.RouterPath
import com.xmmj.main.viewmodel.LoginViewModel
import com.xmmj.module_main.BR
import com.xmmj.module_main.R
import com.xmmj.module_main.databinding.ActivityLoginBinding

/**
 * 登录页面
 */
@Route(path = RouterPath.Main.PAGE_LOGIN)
class LoginActivity : BaseMvvmActivity<ActivityLoginBinding, LoginViewModel>() {

    override fun setTitleBarVisible(): Boolean {
        return true
    }

    override fun setTitle(): String {
        return getString(R.string.login)
    }

    override fun getContentViewId(): Int {
        return R.layout.activity_login
    }

    override fun getVariableId(): Int {
        return BR.viewModel
    }

}